package com.hy.mydesktop.shared.util.log;

public class GwtDebugStrUtil {
	
	/**
	 * 
	 * 
	 * <ul>
	 * <li>方法含义：返回字符串 ："当前类响应 "+eventName+"事件" </li>
	 * <li>方法作者：花宏宇</li>
	 * <li>编写日期：2011-9-13；时间：上午10:17:35</li>
	 * </ul>
	 * <ul>
	 * <b>修订编号：</b>
	 * <li>修订日期：</li>
	 * <li>修订作者：</li>
	 * <li>修订原因：</li>
	 * <li>修订内容：</li>
	 * </ul>
	 * @param eventName
	 * @return
	 * @return
	 */
	public static String getEventReponseStr(Object eventName) {
		if (eventName instanceof String) {
			getEventReponseStr((String)eventName);
			System.err.println("ifffffffffffffffff");
		} else {
			System.err.println("elseeeeeeeeeeeeeeee");
			throw new RuntimeException("eventName is not 'String' type .");
		}
		return eventName.toString();
	}
	
	
	public static String getEventReponseStr(String eventName) {
		
		return "当前类响应 "+eventName+"事件";
	}

}
